package com.haohao.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haohao.common.annotation.Excel;
import com.haohao.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 销售订单对象 sys_orders
 *
 * @author haohao
 * @date 2024-04-10
 */
public class SysOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 家电信息 */
    @Excel(name = "家电信息")
    private Long tid;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String clientname;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String clienttel;

    /** 客户详细地址 */
    @Excel(name = "客户详细地址")
    private String clientaddress;

    /** 家电名称 */
    @Excel(name = "家电名称")
    private String name;

    /** 家电图片 */
    @Excel(name = "家电图片")
    private String pic;

    /** 购买数量 */
    @Excel(name = "购买数量")
    private Long count;

    /** 家电介绍 */
    @Excel(name = "家电介绍")
    private String content;

    /** 家电品牌 */
    @Excel(name = "家电品牌")
    private String brand;

    /** 产地 */
    @Excel(name = "产地")
    private String place;

    /** 尺寸 */
    @Excel(name = "尺寸")
    private String size;

    /** 重量 */
    @Excel(name = "重量")
    private String weight;

    /** 上市时间 */
    @Excel(name = "上市时间")
    private String timetomarket;

    /** 店员信息 */
    @Excel(name = "店员信息")
    private Long uid;

    /** 状态 */
    @Excel(name = "状态")
    private String state;
    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getZprice() {
        return zprice;
    }

    public void setZprice(BigDecimal zprice) {
        this.zprice = zprice;
    }

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal zprice;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTid(Long tid)
    {
        this.tid = tid;
    }

    public Long getTid()
    {
        return tid;
    }
    public void setClientname(String clientname)
    {
        this.clientname = clientname;
    }

    public String getClientname()
    {
        return clientname;
    }
    public void setClienttel(String clienttel)
    {
        this.clienttel = clienttel;
    }

    public String getClienttel()
    {
        return clienttel;
    }
    public void setClientaddress(String clientaddress)
    {
        this.clientaddress = clientaddress;
    }

    public String getClientaddress()
    {
        return clientaddress;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPic(String pic)
    {
        this.pic = pic;
    }

    public String getPic()
    {
        return pic;
    }
    public void setCount(Long count)
    {
        this.count = count;
    }

    public Long getCount()
    {
        return count;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setPlace(String place)
    {
        this.place = place;
    }

    public String getPlace()
    {
        return place;
    }
    public void setSize(String size)
    {
        this.size = size;
    }

    public String getSize()
    {
        return size;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }
    public void setTimetomarket(String timetomarket)
    {
        this.timetomarket = timetomarket;
    }

    public String getTimetomarket()
    {
        return timetomarket;
    }
    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("tid", getTid())
                .append("clientname", getClientname())
                .append("clienttel", getClienttel())
                .append("clientaddress", getClientaddress())
                .append("name", getName())
                .append("pic", getPic())
                .append("count", getCount())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("content", getContent())
                .append("brand", getBrand())
                .append("place", getPlace())
                .append("size", getSize())
                .append("weight", getWeight())
                .append("timetomarket", getTimetomarket())
                .append("uid", getUid())
                .append("state", getState())
                .toString();
    }
}
